﻿using System;
using System.ComponentModel;

namespace FxArchitect.ContentPipeline
{
    public enum XnaProfile
    {
        Reach,
        HiDef
    }

    public class XnaProfileConverter : StringConverter
    {
        public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
        {   // show a combobox for this element
            return true;
        }
        public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
        {   // don't allow typing the processor name
            return true;
        }
        public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
        {
            return new StandardValuesCollection(Enum.GetNames(typeof(XnaProfile)));
        }
    }
}
